<html>
<head>
	<script type="text/javascript" src="../../lib/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="../../lib/jshashtable-2.1.js"></script>
	<script type="text/javascript" src="../../src/jquery.numberformatter.js"></script>
	
	<script type="text/javascript">
	    $(document).ready(function () {
//	        $('#a').html($.formatNumber(123456.789, {format: "#,##0.0", locale: "us"}));
//			$('#b').html($.formatNumber(123456.789, {format: "#,##0.0", locale: "de"}));
//			$('#c').html($("<span>123456.789</span>").formatNumber({format: "#,##0.0", locale: "de"}).text());
			$('#d').html($("<span>$1000</span>").formatNumber({format: "##,##", locale: "us", nanForceZero: false}).text());
	    });
	</script>
</head>
<body>
	<p>
		<a href="http://code.google.com/p/jquery-numberformatter/issues/detail?id=28">Issue #28</a>
	</p>
	
	<p>
		A)
		<div id="a"></div>
		<div>Expected: 123,456.8</div>
	</p>
	<p>
		B)
		<div id="b"></div>
		<div>Expected: 123.456,8</div>
	</p>
	<p>
		C)
		<div id="c"></div>
		<div>Expected: 123.456,8</div>
	</p>
	<p>
		D)
		<div id="d"></div>
		<div>Expected: </div>
	</p>
</body>
</html>